package ar.com.sgsvm.dao;

import java.io.Serializable;
import java.util.List;

public interface IGenericDao<T, ID extends Serializable> {

	public ID create(T entity) throws Exception;

	public List<T> readAll() throws Exception;

	public T readById(ID id) throws Exception;

	public void update(T entity) throws Exception;

	public void delete(T entity) throws Exception;

}
